export class UseQuery {
	static gt(value: any): MongoQueryScalar {
		return { $gt: value }
	}

	static eq(value: any): MongoQueryScalar {
		return { $eq: value }
	}

	static in(value: any[]): MongoQueryScalar {
		return { $in: value }
	}

	static all(value: any[]): MongoQueryScalar {
		return { $all: value }
	}

	static and(value: any[]): MongoQueryScalar {
		return { $and: value }
	}

	static or(value: any[]): MongoQueryScalar {
		return { $or: value }
	}

	static lt(value: any): MongoQueryScalar {
		return { $lt: value }
	}

	static lte(value: any): MongoQueryScalar {
		return { $lte: value }
	}

	static gte(value: any): MongoQueryScalar {
		return { $gte: value }
	}

	static ne(value: any): MongoQueryScalar {
		return { $ne: value }
	}

	static nin(value: any[]): MongoQueryScalar {
		return { $nin: value }
	}

	static regex(value: any): MongoQueryScalar {
		return { $regex: value }
	}
}